/**
 * Created by Administrator on 2016/8/16.
 */
$(function(){
    console.log(21);
    var $window = $(window),
        Ww = $window.width();


        var index_ban = new Swiper('.index-ban',{                                                                     //首页banner
            autoplay : 5000,
            speed: 2000
        });

        var index_banner = $(".index-ban"),
            ban_img = index_banner.find(".ban-img").height();
        index_banner.css({ "height":ban_img,"overflow":"hidden"});


});